package com.hippo.core.config

object AppConsts {

    object ControlType{
        const val NONE = 0
        const val AUTO = 1
        const val EDGE = 2
        const val MANUAL = 3
        const val MONITOR = 4
        const val STANDBY = 5
    }

    //0=英语,1=英语,2=德语,3=西班牙语,4=法语,5=意大利语,6=葡萄牙语
    object CountryType{
        const val ENGLISH = "0"
        const val GERMAN = "1"
        const val SPANISH = "2"
        const val FRENCH = "3"
        const val ITALIAN = "4"
        const val PORTUGUESE = "5"

        fun getCountryName(type:String):String{
            return when(type){
                ENGLISH -> "英语"
                GERMAN -> "德语"
                SPANISH -> "西班牙语"
                FRENCH -> "法语"
                ITALIAN -> "意大利语"
                PORTUGUESE -> "葡萄牙语"
                else -> "英语"
            }
        }

    }

    /**
     *  状态码(200=成功,其它都是失败,405=抱歉，登录用户被冻结,406=登录失效,102=请先开通vip会员,103=请先进行真人认证,104=资料未审核通过,409=抱歉，当前用户被冻结)
     */
    object HttpCode{
        const val SUCCESS = 200
        const val LOGIN_FREEZE = 405
        const val LOGIN_INVALID = 406
        const val VERIFY_FAIL = 102
        const val VERIFY_NOT_PASS = 103
        const val VERIFY_NOT_AUDIT = 104
        const val USER_FREEZE = 409
    }



}